package com.ruoyi.syrw.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * report与excel关系业务对象 syrw_ref_report_excel
 *
 * @author zyb
 * @date 2024-04-30
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class RefReportExcelBo extends BaseEntity {

    /**
     * 试验任务report_id
     */
    @NotNull(message = "试验任务report_id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long reportId;

    /**
     * syrw_bi_jl_type中的jl_type_id（用来说明具体关联哪个表的excel）
     */
    @NotNull(message = "syrw_bi_jl_type中的jl_type_id（用来说明具体关联哪个表的excel）不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long excelTypeId;

    /**
     * excel记录id
     */
    @NotNull(message = "excel记录id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long excelId;

    /**
     * excel的顺序
     */
    private Integer excelIndex;


}
